﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace timu4

{
    class Program
    {
        static void Main(string[] args)
        {
            string n = "xiaobing";
            //实例化对象
            Soldier Xiaobing = new Soldier(n);
            Xiaobing.Speak();
            Xiaobing.Attrack();
            Console.ReadKey();

        }
    }
}

   
  
   
    
